package Interview;

/**
 * @Author MDD
 * @Description
 * @Version
 * @Date
 **/
public class Interview {
    //成员变量
    public int var = 100;
    public void method(){
        //局部变量（本地变量）
        int var = 1;
        System.out.println("var = "+var);
    }

    public static void main(String[] args) {
        Interview num = new Interview();
        System.out.println(num.var);
        num.method();
    }
}
